]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Switch the HH:MM:SS second clock to HH:MM
authorOwen Taylor <otaylor@src.gnome.org>
Fri, 31 Oct 2008 18:12:03 +0000 (18:12 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 31 Oct 2008 18:12:03 +0000 (18:12 +0000)
less updates == less debug spew.

svn path=/trunk/; revision=11

js/ui/panel.js

index 6b1a92840bd6dca7e8614529926a75b8523b5c68..85fe95e1c27b6f55913084ec3a05b659562cbc9a 100644 (file)
@@ -53,7 +53,7 @@ Panel.prototype = {
 
     _startClock: function() {
        let me = this;
-       Mainloop.timeout_add_seconds(1,
+       Mainloop.timeout_add_seconds(60,
            function() {
                me._updateClock();
                return true;
@@ -61,7 +61,7 @@ Panel.prototype = {
     },
 
     _updateClock: function() {
-       this._clock.set_text(new Date().toLocaleFormat("%H:%M:%S"));
+       this._clock.set_text(new Date().toLocaleFormat("%H:%M"));
        this._clock.set_anchor_point_from_gravity(Clutter.Gravity.NORTH_EAST);
 
        return true;